import redis

print redis.__file__

r = redis.Redis(host="localhost", port="6379", db="0")

dbsize = r.dbsize()

print(dbsize)

print(r.get("aa"))
#print(r.get_type("aa"))

r.push("b", "b1")
r.push("b", "b2")

print(r.get("b"))